package com.eastseeway.radioproject.entities;

import androidx.annotation.Keep;

import java.io.Serializable;

import struct.StructClass;
import struct.StructField;
@Keep
@StructClass
public class BeanFromNegativePressureBoard implements Serializable {
    // 显式声明序列化版本号
    @StructField(order = 0)
    private int Gas_Container_Press;//储气罐传感器压力值
    @StructField(order = 1)
    private int Gas_Container_Temp; //储气罐传感器温度值
    @StructField(order = 2)
    private int Gas_Pipe_Press;   //手柄连接传感器管路压力值
    @StructField(order = 3)
    private int Gas_Pipe_Temp;   //手柄连接传感器管路温度值

    @StructField(order = 4)
    private int Handle_Gas_Press;  //手柄端请求的压力值
    @StructField(order = 5)
    private int Motor_I;      //电机工作电流
    @StructField(order = 6)
    private int Motor_T;      //电机工作温度
    @StructField(order = 7)
    private int CPU_T;       //CPU工作温度
    @StructField(order = 8)
    private int input_power_V;   //输入电源电压
    @StructField(order = 9)
    private int st78m05_V;     //7805转5V输出电压
    @StructField(order = 10)
    private int FAULT_STATUS;    //电机驱动芯片检测到电流异常      0未报警状态 1报警状态
    @StructField(order = 11)
    private int wk_status;
//    @StructField(order = 11)
//    private short Fault_Motor_T ;    //电机驱动芯片检测到电流异常      0未报警状态 1报警状态
//    @StructField(order = 12)
//    private short Warring_Pump_work_timeout ; //负压泵工作超时
//    @StructField(order = 13)
//    private short Warring_Handle_Gas_Press_Adjust_timeout ;  //与手柄连接管路调压时，超出规定时间
//    @StructField(order = 14)
//    private short Warring_Gas_Container_Press_lower ;   //气缸压力低(于手柄设置值)，不能充气
//    @StructField(order = 15)
//    private short Warring_CPU_T ;    //CPU温度异常
//    @StructField(order = 16)
//    private short Warring_Input_Power_V ;  //输入电源电压偏差大 11-13V
//    @StructField(order = 17)
//    private short Warring_ST78M05_V ;   //CPU供电偏差大 4.5-5.5V
//    @StructField(order = 18)
//    private short Warring_Adjust_pip_pressure_failure ;    //调压失效 可能与调压阀有关
//    @StructField(order = 19)
//    private short Warring_No_received_handle_pressure_request ;  //未接收到手柄端压力设置值
//    @StructField(order = 20)
//    private short CAN_RxQueue_FULL_ERROR;//CAN 接收队列满错误，当队列满时，意味着有CAN帧丢失
//    @StructField(order = 21)
//    private short Gas_Container_Press_Sensor_TimeOut;//气体容器压力传感器采样超时
//    @StructField(order = 22)
//    private short Gas_Pipe_Press_Sensor_TimeOut;//管路压力传感器采样超时


    public int getGas_Container_Press() {
        return Gas_Container_Press;
    }

    public void setGas_Container_Press(int gas_Container_Press) {
        Gas_Container_Press = gas_Container_Press;
    }

    public int getGas_Container_Temp() {
        return Gas_Container_Temp;
    }

    public void setGas_Container_Temp(int gas_Container_Temp) {
        Gas_Container_Temp = gas_Container_Temp;
    }

    public int getGas_Pipe_Press() {
        return Gas_Pipe_Press;
    }

    public void setGas_Pipe_Press(int gas_Pipe_Press) {
        Gas_Pipe_Press = gas_Pipe_Press;
    }

    public int getGas_Pipe_Temp() {
        return Gas_Pipe_Temp;
    }

    public void setGas_Pipe_Temp(int gas_Pipe_Temp) {
        Gas_Pipe_Temp = gas_Pipe_Temp;
    }

    public int getHandle_Gas_Press() {
        return Handle_Gas_Press;
    }

    public void setHandle_Gas_Press(int handle_Gas_Press) {
        Handle_Gas_Press = handle_Gas_Press;
    }

    public int getMotor_I() {
        return Motor_I;
    }

    public void setMotor_I(int motor_I) {
        Motor_I = motor_I;
    }

    public int getMotor_T() {
        return Motor_T;
    }

    public void setMotor_T(int motor_T) {
        Motor_T = motor_T;
    }

    public int getCPU_T() {
        return CPU_T;
    }

    public void setCPU_T(int CPU_T) {
        this.CPU_T = CPU_T;
    }

    public int getInput_power_V() {
        return input_power_V;
    }

    public void setInput_power_V(int input_power_V) {
        this.input_power_V = input_power_V;
    }

    public int getSt78m05_V() {
        return st78m05_V;
    }

    public void setSt78m05_V(int st78m05_V) {
        this.st78m05_V = st78m05_V;
    }

    public int getFAULT_STATUS() {
        return FAULT_STATUS;
    }

    public void setFAULT_STATUS(int FAULT_STATUS) {
        this.FAULT_STATUS = FAULT_STATUS;
    }

    public int getWk_status() {
        return wk_status;
    }

    public void setWk_status(int wk_status) {
        this.wk_status = wk_status;
    }
}
